<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Bootstrap Material Admin</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="robots" content="all,follow">
    <link rel="stylesheet" href="/css/http_lib.sinaapp.com_js_bootstrap_4.2.1_css_bootstrap.css">
    <link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
    <script src="/js/community.js"></script>
</head>
<body>
<div class="page login-page">
    <div class="container d-flex align-items-center">
        <div class="form-holder has-shadow">
            <div class="row">
                <!-- Logo & Information Panel-->
                <div class="col-lg-6">
                    <div class="info d-flex align-items-center">
                        <div class="content">
                            <div class="logo">
                                <h1>欢迎管理员登录</h1>
                            </div>
                            <p></p>
                        </div>
                    </div>
                </div>
                <!-- Form Panel    -->
                <div class="col-lg-6 bg-white">
                    <div class="form d-flex align-items-center">
                        <div class="content">
                            <!--                  <form method="post" action="login.html" class="form-validate" id="loginFrom">-->
                            <div class="form-group">
                                <input id="login-username" type="text" name="userName" required data-msg="请输入用户名" placeholder="用户名" class="input-material">
                            </div>
                            <div class="form-group">
                                <input id="login-password" type="password" name="passWord" required data-msg="请输入密码" placeholder="密码" class="input-material">
                            </div>
                            <div class="form-group">
                                <button id="userLogin" type="button" name="registerSubmit" class="btn btn-primary">登录</button>
                            </div>
                            <br />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- JavaScript files-->
<script src="/js/http_s1.pstatp.com_cdn_expire-1-M_jquery_1.10.2_jquery.js"></script>
<script src="/js/http_apps.bdimg.com_libs_bootstrap_3.3.4_js_bootstrap.js"></script>
<script src="/js/jquery.validate.min.js"></script><!--表单验证-->
<!-- Main File-->
<!--    <script src="/js/front.js"></script>-->
<script>
    $(function(){
        /*拿到刚刚注册的账号*/
        /*if(localStorage.getItem("name")!=null){
      $("#login-username").val(localStorage.getItem("name"));
    }*/
        /*登录*/
        $("#userLogin").click(function(){
            adminLogin($("#login-username").val(),$("#login-password").val())
        })

    })
</script>
</body>
</html>